package com.yfp.client.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yfp.client.domain.StoredValueActivityDetail;

import java.util.List;

/**
 *
 * @description 针对表【stored_value_activity_detail(储值活动详情)】的数据库操作Mapper
 * @createDate 2024-11-22 10:15:05
 * @Entity com.yfp.client.domain.StoredValueActivityDetail
 */
public interface StoredValueActivityDetailMapper extends BaseMapper<StoredValueActivityDetail> {

    /**
     * 根据储值活动id查询详情
     *
     * @param id
     * @return
     */
    List<StoredValueActivityDetail> listByActivityId(Long id);

    /**
     * 根据储值活动id查询 首充奖励
     *
     * @param activityId
     * @return
     */
    StoredValueActivityDetail listFirstStoredByActivityId(Long activityId);
}




